package com.niit.jdbc;

import java.math.BigDecimal;

public class Book {
	private int id;
	private String code;
	private String name;
	private String author;
	private BigDecimal unitPrice;

	public Book() {
	}
	public Book(int id, String code, String name, String author, BigDecimal unitPrice) {
		this.id = id;
		this.code = code;
		this.name = name;
		this.author = author;
		this.unitPrice = unitPrice;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getAuthor() {
		return author;
	}
	public void setAuthor(String author) {
		this.author = author;
	}
	public BigDecimal getUnitPrice() {
		return unitPrice;
	}
	public void setUnitPrice(BigDecimal unitPrice) {
		this.unitPrice = unitPrice;
	}
	
	
	
}
